/**
 * Created by kidfruit on 2016/9/23 023.
 */
class Greeter {
    constructor(public greeting: string) {
    }

    greet() {
        return "<h1>" + this.greeting + "</h1>";
    }
}
;

var greeter = new Greeter("Hello, world! KID");

document.body.innerHTML = greeter.greet();

document.body.innerHTML += "234";